<el-form ref="form" :model="form" :rules="rules" label-width="140px">
    <el-row :gutter="10">
        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
            <el-form-item label="二级行业分类编号" prop="GWAG001">
                <el-input v-model="form.GWAG001" :readOnly="!isAdd"></el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
            <el-form-item label="说明" prop="GWAGL003">
                <el-input v-model="form.GWAGL003"></el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
            <el-form-item label="助记码" prop="GWAGL004">
                <el-input v-model="form.GWAGL004"></el-input>
            </el-form-item>
        </el-col>

        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
            <el-form-item label="一级行业分类编号" prop="GWAG002">
                <el-select v-model="form.GWAG002" size="small" placeholder="请选择一级行业分类" @change="change">
                    <el-option v-for="item in selectOptions.gwag002Options"
                               :key="item.GWBW001"
                               :label="item.GWBWL003"
                               :value="item.GWBW001">
                    </el-option>
                </el-select>
            </el-form-item>
        </el-col>

        <!--<el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
            <el-form-item label="一级行业分类说明">
                <el-input v-model="form.GWBWL003" readOnly></el-input>
            </el-form-item>
        </el-col>-->

        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
            <el-form-item label="有效否" prop="GWAGACTI">
                <el-select v-model="form.GWAGACTI">
                    <el-option v-for="item in selectOptions.sys_y_n" :label="item.value" :value="item.code"></el-option>
                </el-select>
            </el-form-item>
        </el-col>

        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24" style="text-align: right">
            <el-button icon="icon iconfont icon-23" size="mini" @click="cancel">关闭</el-button>
            <el-button v-show="!isDetail" type="warning" icon="icon iconfont icon-21" size="mini" @click="sure">保存</el-button>
        </el-col>
    </el-row>
</el-form>
<script>
    require(["pc/crm/gwai280_edit"], $.noop);
</script>